<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>syslinux</Name>
        <Homepage>http://syslinux.zytor.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>SysLinux, IsoLinux and PXELinux bootloader</Summary>
        <Description>Lightweight bootloaders for floppy media (SYSLINUX), network booting (PXELINUX), and bootable "El Torito" CD-ROMs (ISOLINUX). The project also includes MEMDISK, a tool to boot legacy operating systems (such as DOS) from nontraditional media; it is usually used in conjunction with PXELINUX and ISOLINUX.</Description>
        <Archive sha1sum="599b7a85d522b1b6658a1fe290e4d23dc64b1470" type="tarxz">https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.04/syslinux-6.04-pre1.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>nasm</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>dosfstools</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>efibootmgr-devel</Dependency>
            <Dependency>gptfdisk</Dependency>
            <Dependency>upx</Dependency><!--1-->
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>syslinux.git-138e850fab106b5235178848b3e0d33e25f4d3a2.patch</Patch><!--kbd patch-->
            <Patch>0001-Add-install-all-target-to-top-side-of-HAVE_FIRMWARE.patch</Patch>
            <Patch>0002-ext4-64bit-feature.patch</Patch>
            <Patch>0003-include-sysmacros-h.patch</Patch>
            <Patch>0004-Add-RPMOPTFLAGS-to-CFLAGS-for-some-stuff.patch</Patch>
            <Patch>0005-Workaround-multiple-definition-of-symbol-errors.patch</Patch>
            <Patch>0006-Replace-builtin-strlen-that-appears-to-get-optimized.patch</Patch>

<!--             <Patch>syslinux-6.03-sysmacros.patch</Patch> -->
<!--             <Patch>0002-ext4-64bit-feature.patch</Patch> -->
<!--             <Patch>0004-Add-RPMOPTFLAGS-to-CFLAGS-for-some-stuff.patch</Patch> -->
<!--             <Patch level="1">0005-gnu-efi-version-compatibility.patch</Patch> -->
<!--             <Patch level="1">0006-Replace-builtin-strlen-that-appears-to-get-optimized.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>syslinux</Name>
        <RuntimeDependencies>
            <Dependency>libutil-linux</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>efibootmgr</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>dosfstools</Dependency>
            <Dependency>gptfdisk</Dependency>
            <Dependency>perl-Crypt-PasswdMD5</Dependency>
            <Dependency>perl-Digest-SHA1</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/syslinux</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/lib/syslinux/isolinux.cfg" permission="0644" owner="root">pisi-iso/isolinux.cfg</AdditionalFile>
            <AdditionalFile target="/usr/lib/syslinux/background.png" permission="0644" owner="root">pisi-iso/background.png</AdditionalFile>
<!--             <AdditionalFile target="/usr/bin/syslinux-install_update" permission="0755" owner="root">syslinux-install_update</AdditionalFile> -->
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="9">
            <Date>2022-07-10</Date>
            <Version>6.04</Version>
            <Comment>Rebuild </Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2021-07-17</Date>
            <Version>6.04</Version>
            <Comment>Rebuild </Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2020-01-25</Date>
            <Version>6.04</Version>
            <Comment>Rebuild </Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2018-11-12</Date>
            <Version>6.04</Version>
            <Comment>Rebuild </Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-08-24</Date>
            <Version>6.04</Version>
            <Comment>Version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-08-13</Date>
            <Version>6.03</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-29</Date>
            <Version>6.03</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>6.03</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>6.03</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
